package com.project.slsx.bean;

import java.io.Serializable;

public class GoodsBean extends BaseBean implements Serializable {
    private String goods_id;
    private String option_id;
    private int number;
    private int discount = 100;

    private String title;
    private double price;
    private double sumPrice;
    private boolean isZengsong;


    public String getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }

    public String getOption_id() {
        return option_id;
    }

    public void setOption_id(String option_id) {
        this.option_id = option_id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }

    public boolean isZengsong() {
        return isZengsong;
    }

    public void setZengsong(boolean zengsong) {
        isZengsong = zengsong;
    }

    @Override
    public String toString() {
        return "GoodsBean{" +
                "goods_id='" + goods_id + '\'' +
                ", option_id='" + option_id + '\'' +
                ", number=" + number +
                ", discount=" + discount +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", sumPrice=" + sumPrice +
                ", isZengsong=" + isZengsong +
                '}';
    }
}
